package com.sy.dto;

import com.github.pagehelper.Page;
import com.sy.entity.Blog;

import java.util.List;

public class PagingNavBlogInfo {
    /**
     * 博客导航页博客的相关信息
     */
    private List<NavBlogInfo> blogInfos;

    /**
     * 博客集合的分页信息
     */
    private PageInfo<Blog> pageInfo;

    public List<NavBlogInfo> getBlogInfos() {
        return blogInfos;
    }

    public void setBlogInfos(List<NavBlogInfo> blogInfos) {
        this.blogInfos = blogInfos;
    }

    public PageInfo<Blog> getPageInfo() {
        return pageInfo;
    }

    public void setPageInfo(PageInfo<Blog> pageInfo) {
        this.pageInfo = pageInfo;
    }

    @Override
    public String toString() {
        return "PagingNavBlogInfo{" +
                "blogInfos=" + blogInfos +
                ", pageInfo=" + pageInfo +
                '}';
    }
}
